<div class="tab-style">
  <ul class="nav nav-tabs tab-ul">
    <li class="active"><a href="#overview" data-toggle="tab">全局配置</a></li>
    <li class="pull-right bookmark"><button class="btn btn-info" ng-click="add_bookmark()">存为书签</button></li>
  </ul>
</div>
<div class="modal page-modal">
  <div class="modal-body no-height-limit">
    <fieldset>
      <legend>平台全局配置</legend>
      <div ng-hide="hideinfo" ng-click="do_edit()" style="margin-left: 30px;">
          <div class="row-fluid" ng-repeat="setting in settings">
              <div class="span3"><label>{{ setting.name }}</label></div>
              <div class="span9">
                  <label>{{ setting.value }}</label>
              </div>
          </div>
      </div>

      <div ng-show="hideinfo" style="margin-left: 30px;">
          <div class="row-fluid" ng-repeat="setting in settings">
            <div class="span3"><label>{{ setting.name }}:</label></div>
            <div class="span9">
              <input type="text" style="width:90%;" ng-model="setting.value">
            </div>
          </div>

          <div>
            <div class="btn" ng-click="close()">取消</div> <div class="btn btn-primary" ng-click="do_update()">保存</div>
          </div>
      </div>
    </fieldset>
  </div>
</div>


